export const CARD_INFO = {
    appId: '',
    accessToken: '68e1af31938a46279d65846c7c9e6fb7', // 业务token
    roleId: '',
    screenId: '',
    isPub: '',
    cardName: '设备告警排行',
}
export function initConfig(params = {}) {
    params.accessToken && (CARD_INFO.accessToken = params.accessToken);
    params.userId && (CARD_INFO.userId = params.userId);
    params.screenId && (CARD_INFO.screenId = params.screenId);
    params.isPub && (CARD_INFO.isPub = params.isPub);
    params.roleType && (CARD_INFO.roleType = params.roleType);
}
